package com.briup.sms.utils;

import lombok.Data;

/**
 * @Author :xuyang
 * @DateTime:2024/1/10 11:17
 * @Version :v1.0.0
 * ClassName:SMSException
 * Package  :com.briup.sms.utils
 * Description:TODO
 */
@Data
public class SMSException extends RuntimeException {
    private ResultCode resultCode;

    public SMSException() {
    }

    public SMSException(ResultCode resultCode) {
        super(resultCode.message());
        this.resultCode = resultCode;
    }
}

